﻿#region

using System;

#endregion

namespace Core.Utils
{
    /// <summary>
    ///     Interface of log
    ///     Mofifitor: CuongNQ
    ///     Modified Date: 11/01/2010
    /// </summary>
    public interface ILog
    {
        bool IsDebugEnabled { get; }

        bool IsInfoEnabled { get; }

        bool IsWarnEnabled { get; }

        bool IsErrorEnabled { get; }
        void Debug(object message);

        void Debug(object message, Exception exception);

        void Info(object message);

        void Info(object message, Exception exception);

        void Warn(object message);

        void Warn(object message, Exception exception);

        void Error(object message);

        void Error(object message, Exception exception);

        void Error(Exception exception);
    }
}